package com.xdcplus.web.mapper.bd;

import com.xdcplus.mp.mapper.IBaseMapper;
import com.xdcplus.web.common.pojo.entity.bd.BdOpe;
import com.xdcplus.web.common.pojo.query.bd.BdOpeQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 工序管理(BdOpe)表数据库访问层
 *
 * @author Fish.Fei
 * @since 2023-02-03 15:09:46
 */
public interface BdOpeMapper extends IBaseMapper<BdOpe> {

    /**
     * 查询工序管理(BdOpe)
     *
     * @param bdOpeQuery 工序管理(BdOpe)查询
     * @return {@link List<BdOpe>}
     */
    List<BdOpe> queryBdOpe(BdOpeQuery bdOpeQuery);

    BdOpe queryByOpeCode(String opeCode);

    /**
     * 获取工序管理通过OpeCodes
     * @param opeCodes
     * @return
     */
    List<BdOpe> queryByOpeCodes(@Param("opeCodes") List<String> opeCodes);

    /**
     * 查询工序管理(BdOpe)(离线抽检使用)
     *
     * @param bdOpeQuery 工序管理(BdOpe)查询
     * @return {@link List<BdOpe>}
     */
    List<BdOpe> queryBdOpeByQa(BdOpeQuery bdOpeQuery);


}
